package vip.xiaonuo.facedoor.modular.message;

import vip.xiaonuo.facedoor.modular.message.domain.LocalMessage;

import java.util.Date;
import java.util.List;


public interface LocalMessageRepository {
    void save(LocalMessage message);

    void update(LocalMessage message);

    List<LocalMessage> loadNotSuccessByUpdateGt(Date latestUpdateTime, int size);
}
